<template>
  <default-layout>
    <header-back text="一级页面" :fixed="false" slot="header"></header-back>
    <div slot="main">
      <router-link to="/test/test2">一级页面</router-link>
    </div>
    <transition name="router" mode="out-in">
      <router-view></router-view>
    </transition>
  </default-layout>
</template>

<script>
  import DefaultLayout from '../../layouts/default-layout/default-layout'
  import HeaderBack from '../../components/header-back/header-back'
  export default {
    name: 'index',
    components: {HeaderBack, DefaultLayout}
  }
</script>

<style scoped>

</style>
